<div id="chatbox">
    {% for message in messages %}
        <div>User: {{ message.user_message }}</div>
        <div>Bot: {{ message.bot_message }}</div>
    {% endfor %}
</div>
